import "./export-value";
import "./export";
import "./import";
import { GaRegExp, ruleInject, ruleInjectable } from "../InjectionRule";

@ruleInjectable()
export default class exportDataRule extends GaRegExp {

	@ruleInject() private exportRule!: GaRegExp;

	@ruleInject() private importRule!: GaRegExp;

	@ruleInject() private executeDataRule!: GaRegExp;

	public RuleInit() {
		this.ParseRule([
			"(-",
			"(", this.exportRule, ")", "|",
			"(", this.importRule, ")", "|",
			this.executeDataRule,
			")",
		]);
	}

}
